﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Uranus.WeiStationAPI.Models
{
    /// <summary>
    /// 用户购买产品DTO
    /// </summary>
    [Serializable]
    public class UserShopInfo
    {
        public int UserID { get; set; }

        public string ProductName { get; set; }

        public string ProductCode { get; set; }

        public decimal BuyPrice { get; set; }

        public decimal AnnualRateOfYear { get; set; }

        public int LoanPeriodUnitID { get; set; }
        /// <summary>
        /// 汇付天下贷款人id
        /// </summary>
        public string LHuifuCode { get; set; }

        public decimal LoanPrice { get; set; }

        public int LoanPeriod { get; set; }

        public int ProductGroupID { get; set; }

        public int RepaymentTypeID { get; set; }

        public string RepaymentTypeName { get; set; }

        public int CategoryID { get; set; }

        public decimal Fee { get; set; }
        /// <summary>
        /// 活动显示的年化收益
        /// </summary>
        public decimal ActiveRateOfYear { get; set; }
        /// <summary>
        /// 额外年化收益
        /// </summary>
        public decimal ShowAnnualRateOfYear { get; set; }

        public decimal CashPrice { get; set; }

        public int OrderItemID { get; set; }
        /// <summary>
        /// 银行卡号
        /// </summary>
        public string CardNo { get; set; }
        /// <summary>
        /// 银行卡编号
        /// </summary>
        public int UserBankCardID { get; set; }
        /// <summary>
        /// 银行编号
        /// </summary>
        public string BankNumber { get; set; }
        /// <summary>
        /// 预期收益
        /// </summary>
        public decimal InterestAmt { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal ChargePrice { get; set; }

        /// <summary>
        /// 银行卡ID
        /// </summary>
        public int BankId { get; set; }
        /// <summary>
        /// 产品号-投资用
        /// </summary>
        public string ProId { get; set; }

        /// <summary>
        /// 礼品卡ID
        /// </summary>
        public int GiftCardID { get; set; }

        /// <summary>
        /// 是否是活期
        /// </summary>
        public bool IsCurrent { get; set; }
    }
}